-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: additional tweaks for did:web and other methods as public DIDs #2392
fix: additional tweaks for did:web and other methods as public DIDs #2392
Conversation
Signed-off-by: Daniel Bluhm <[email protected]>
Signed-off-by: Daniel Bluhm <[email protected]>
Heads up on this, @Jsyro as it might be useful for did:peer:2. |
I should add some unit tests for this. Marking as draft until I get that taken care of. |
Signed-off-by: Daniel Bluhm <[email protected]>
@usingtechnology requesting a review 🙂 Should be ready now with tests included in my last commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, test is nice to have.
very minor comment to which I have no feelings either way - update at your discretion.
Signed-off-by: Daniel Bluhm <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff.
This PR adjusts the request schema for the set public DID endpoint to permit
GENERIC_DID
s. It seems that the work to support a generic DID in this endpoint was already done and just the request schema was missed by mistake (or perhaps it's a merge artifact 🤷♂️).Additionally, this PR adjusts the behavior of DID Exchange requests so that if we're using a public DID, no DID Doc attachment is included in the request. This enables us to form connections using a did:web or other DID that is resolvable without worrying about ACA-Py's DID Doc creation process not being quite up to snuff on multi-method support.
And some minor type hint corrections.